#if !defined(AFX_VIEWMANVIEW_H__9047A36C_E8D3_403F_BA4D_3BF8CA17A965__INCLUDED_)
#define AFX_VIEWMANVIEW_H__9047A36C_E8D3_403F_BA4D_3BF8CA17A965__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ViewManView.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CViewManView view

class CViewManView : public CView
{
protected:
	CViewManView();           // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(CViewManView)

// Attributes
public:

// Operations
public:
	CView* GetActiveView();
	BOOL SetActiveView(int nView);
	int GetViewCount();
	CView* AddView(CRuntimeClass *pViewClass);
	BOOL DeleteView(int nIndex);
	BOOL CreateView(CRuntimeClass *pViewClass);

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CViewManView)
	protected:
	virtual void OnDraw(CDC* pDC);      // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	//}}AFX_VIRTUAL

// Implementation
protected:
	virtual ~CViewManView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

	// Generated message map functions
protected:
	//{{AFX_MSG(CViewManView)
	afx_msg void OnSize(UINT nType, int cx, int cy);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
protected:
	void RemoveListItem(POSITION pos);
	CView* m_pNewView;
	CView* m_pActiveView;
	CList <CView*,CView*> m_viewList;
	int m_nActiveView;
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_VIEWMANVIEW_H__9047A36C_E8D3_403F_BA4D_3BF8CA17A965__INCLUDED_)
